package com.oa.official.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oa.official.entity.system.SysMenu;
import com.oa.official.vo.system.RouterVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author LQ
 * @since 2024-03-05
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> findNodes(Long id);

    List<SysMenu> findUserMenuListByUserId(Long userId);
}
